function makeSound(name) {
  return {
    play: function() {
      new Audio("assets/" + name + ".wav").play();
    }
  };
}

new_class(
  'SoundManager',
  function() {
    this.lazer = makeSound("possiblelazer");
  },
  {
  });
